from lingcod.mpa.forms import MpaForm as BaseMpaForm
from lingcod.rest.forms import UserForm as BaseArrayForm
from models import AOI, AOIFolder
from django import forms

class AOIFolderForm(BaseArrayForm):
    name = forms.CharField(label='Folder Name')
    class Meta:
        model = AOIFolder
        exclude = ('sharing_groups','supportfile1','supportfile2')

class AOIForm(BaseMpaForm):
    name = forms.CharField(label='Annotation Name')
    class Meta:
        model = AOI
        exclude = ('sharing_groups','content_type','object_id','designation')
